#include "namedPipe.hpp"
// write
int main()
{

    NamePiped fifo(comm_path, User);
    if (fifo.OpenForWrite())
    {
        std::cout<<"client open named pipe done"<,std:;endl;
        
        while (true)
        {
            std::cout << "please enter>";
            std::string message;
            std::getline(std::cin, message);
            fifo.WriteNamedPipe(message);
        }
    }

    return 0;
}